package com.cskaoyan.service.promotion_service;

import com.cskaoyan.bean.Coupon;
import com.cskaoyan.bean.bo.CouponCreateBO;
import com.cskaoyan.bean.bo.CouponDeleteBO;
import com.cskaoyan.bean.params.BaseParam;
import com.cskaoyan.bean.vo.promotion_vo.CouponCreateVO;
import com.cskaoyan.bean.vo.promotion_vo.CouponListUserVO;
import com.cskaoyan.bean.vo.promotion_vo.CouponListVO;

/**
 * @description：
 * @author: 曹旭
 * @date: 2022/5/7 13:57
 */
public interface CouponService {
    CouponListVO list(BaseParam baseParam, Coupon coupon);

    void deleteCoupon(CouponDeleteBO coupon);

    CouponCreateVO createCoupon(CouponCreateBO couponCreateBO);

    Coupon readCoupon(Integer id);

    CouponListUserVO couponListUser(BaseParam param, Integer couponId, Integer userId, Short status);

    Coupon updateCoupon(Coupon coupon);

}
